/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.netmaster.coitaonline.service.impl;

import com.netmaster.coitaonline.dao.UsuarioDao;
import com.netmaster.coitaonline.pojo.Usuario;
import com.netmaster.coitaonline.service.UsuarioService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author Sergio
 */
@Service
public class UsuarioServiceImpl implements UsuarioService{
    
    @Autowired
    private UsuarioDao usuarioDao;

    @Override
    public List<Usuario> allUsuario() {
        return usuarioDao.getListUsuario();
    }

    public void setUsuarioDao(UsuarioDao usuarioDao) {
        this.usuarioDao = usuarioDao;
    }
    
    
    
}
